package serviceimpl;

import java.util.List;

import beans.Follow;
import daoIpmt.FollowDaoIpmt;
import service.FollowService;

public class FollowServiceIpmt implements FollowService {
   FollowDaoIpmt impt = new FollowDaoIpmt();
	@Override
	public void addFollow(Follow follow) {
		impt.addFollow(follow);

	}
	@Override
	public void followStatus(Follow follow) {
		impt.getStatus(follow);
	}
	@Override
	public List<Follow> followUsername(String username) {
		return impt.getfollowUsername(username);
	}

}
